home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / datalist / datalist.exe / %MAINDIR% / SAMPLES / Sample9 / GTLIST32.H < prev    next >
Encoding:
C/C++ Source or Header  |  1998-03-09  |  25.3 KB  |  819 lines

  1. // Machine generated IDispatch wrapper class(es) created with ClassWizard
  2. /////////////////////////////////////////////////////////////////////////////
  3. // _DGTListEvents wrapper class
  4.  
  5. class _DGTListEvents : public COleDispatchDriver
  6. {
  7. public:
  8.     _DGTListEvents() {}        // Calls COleDispatchDriver default constructor
  9.     _DGTListEvents(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
  10.     _DGTListEvents(const _DGTListEvents& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
  11.  
  12. // Attributes
  13. public:
  14.  
  15. // Operations
  16. public:
  17.     void Click();
  18.     void DblClick();
  19.     void KeyDown(short* KeyCode, short Shift);
  20.     void KeyPress(short* KeyAscii);
  21.     void KeyUp(short* KeyCode, short Shift);
  22.     void MouseDown(short Button, short Shift, long x, long y);
  23.     void MouseMove(short Button, short Shift, long x, long y);
  24.     void MouseUp(short Button, short Shift, long x, long y);
  25.     void ListItemDataRequest(LPDISPATCH* ListItem, long Index);
  26.     void ExtendTipBegin(BOOL* Cancel);
  27.     void ExtendTipEnd();
  28.     void ScrollTipBegin(BOOL* Cancel);
  29.     void ScrollTipEnd();
  30.     void ClickColumn(LPDISPATCH* ColumnDef);
  31.     void ClickItem(LPDISPATCH* ListItem, LPDISPATCH* SubItem);
  32.     void ColumnAfterMove(LPDISPATCH ColumnDef);
  33.     void ColumnBeforeMove(LPDISPATCH ColumnDef, BOOL* Cancel);
  34.     void ColumnResize(LPDISPATCH* ColumnDef, BOOL* Cancel);
  35.     void HorzScroll();
  36.     void VertScroll();
  37. };
  38. /////////////////////////////////////////////////////////////////////////////
  39. // _DGTList wrapper class
  40.  
  41. class _DGTList : public COleDispatchDriver
  42. {
  43. public:
  44.     _DGTList() {}        // Calls COleDispatchDriver default constructor
  45.     _DGTList(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
  46.     _DGTList(const _DGTList& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
  47.  
  48. // Attributes
  49. public:
  50.     OLE_COLOR GetBackColor();
  51.     void SetBackColor(OLE_COLOR);
  52.     BOOL GetEnabled();
  53.     void SetEnabled(BOOL);
  54.     OLE_HANDLE GetHWnd();
  55.     void SetHWnd(OLE_HANDLE);
  56.     long GetMultiSelect();
  57.     void SetMultiSelect(long);
  58.     LPDISPATCH GetPicture();
  59.     void SetPicture(LPDISPATCH);
  60.     long GetPictureAlignment();
  61.     void SetPictureAlignment(long);
  62.     LPDISPATCH GetSelectedItem();
  63.     void SetSelectedItem(LPDISPATCH);
  64.     BOOL GetSorted();
  65.     void SetSorted(BOOL);
  66.     short GetSortKey();
  67.     void SetSortKey(short);
  68.     long GetSortOrder();
  69.     void SetSortOrder(long);
  70.     VARIANT GetTagVariant();
  71.     void SetTagVariant(const VARIANT&);
  72.     BOOL GetAllowColumnDragDrop();
  73.     void SetAllowColumnDragDrop(BOOL);
  74.     BOOL GetAllowColumnResize();
  75.     void SetAllowColumnResize(BOOL);
  76.     CString GetImageList();
  77.     void SetImageList(LPCTSTR);
  78.     long GetListCount();
  79.     void SetListCount(long);
  80.     long GetNewIndex();
  81.     void SetNewIndex(long);
  82.     unsigned long GetScrollTipBackColor();
  83.     void SetScrollTipBackColor(unsigned long);
  84.     CString GetScrollTipDataField();
  85.     void SetScrollTipDataField(LPCTSTR);
  86.     LPDISPATCH GetScrollTipFont();
  87.     void SetScrollTipFont(LPDISPATCH);
  88.     unsigned long GetScrollTipForeColor();
  89.     void SetScrollTipForeColor(unsigned long);
  90.     long GetSelCount();
  91.     void SetSelCount(long);
  92.     CString GetText();
  93.     void SetText(LPCTSTR);
  94.     unsigned long GetExtendTipBackColor();
  95.     void SetExtendTipBackColor(unsigned long);
  96.     CString GetExtendTipDataField();
  97.     void SetExtendTipDataField(LPCTSTR);
  98.     long GetExtendTipDelay();
  99.     void SetExtendTipDelay(long);
  100.     LPDISPATCH GetExtendTipFont();
  101.     void SetExtendTipFont(LPDISPATCH);
  102.     unsigned long GetExtendTipForeColor();
  103.     void SetExtendTipForeColor(unsigned long);
  104.     long GetExtendTipTimeout();
  105.     void SetExtendTipTimeout(long);
  106.     long GetTopIndex();
  107.     void SetTopIndex(long);
  108.     long GetVertScrollBar();
  109.     void SetVertScrollBar(long);
  110.     unsigned long GetDefColCaptionBackColor();
  111.     void SetDefColCaptionBackColor(unsigned long);
  112.     long GetDefColCaptionFont3D();
  113.     void SetDefColCaptionFont3D(long);
  114.     LPDISPATCH GetDefColCaptionFont();
  115.     void SetDefColCaptionFont(LPDISPATCH);
  116.     long GetDefColCaptionPictureAlignment();
  117.     void SetDefColCaptionPictureAlignment(long);
  118.     unsigned long GetDefColCaptionForeColor();
  119.     void SetDefColCaptionForeColor(unsigned long);
  120.     float GetDefColumnWidth();
  121.     void SetDefColumnWidth(float);
  122.     long GetDefColCaptionBorderStyle();
  123.     void SetDefColCaptionBorderStyle(long);
  124.     float GetDefRowHeight();
  125.     void SetDefRowHeight(float);
  126.     float GetColumnHeaderHeight();
  127.     void SetColumnHeaderHeight(float);
  128.     unsigned long GetDefBackColor();
  129.     void SetDefBackColor(unsigned long);
  130.     LPDISPATCH GetDefFont();
  131.     void SetDefFont(LPDISPATCH);
  132.     long GetDefFont3D();
  133.     void SetDefFont3D(long);
  134.     unsigned long GetDefForeColor();
  135.     void SetDefForeColor(unsigned long);
  136.     long GetDefPictureAlignment();
  137.     void SetDefPictureAlignment(long);
  138.     long GetDefTextAlignment();
  139.     void SetDefTextAlignment(long);
  140.     LPUNKNOWN GetDataSource();
  141.     void SetDataSource(LPUNKNOWN);
  142.     long GetAppearance();
  143.     void SetAppearance(long);
  144.     BOOL GetCalcRowCountOnLoad();
  145.     void SetCalcRowCountOnLoad(BOOL);
  146.     unsigned long GetGridLineColor();
  147.     void SetGridLineColor(unsigned long);
  148.     long GetGridLineType();
  149.     void SetGridLineType(long);
  150.     long GetGridLineStyle();
  151.     void SetGridLineStyle(long);
  152.     long GetBorderStyle();
  153.     void SetBorderStyle(long);
  154.     short GetSubRows();
  155.     void SetSubRows(short);
  156.     unsigned long GetDefForeColorOdd();
  157.     void SetDefForeColorOdd(unsigned long);
  158.     unsigned long GetDefBackColorOdd();
  159.     void SetDefBackColorOdd(unsigned long);
  160.     CString Get_Text();
  161.     void Set_Text(LPCTSTR);
  162.     BOOL GetSubRowsStatic();
  163.     void SetSubRowsStatic(BOOL);
  164.     BOOL GetColumnResizeElastic();
  165.     void SetColumnResizeElastic(BOOL);
  166.     short GetSortKey2();
  167.     void SetSortKey2(short);
  168.     short GetSortKey3();
  169.     void SetSortKey3(short);
  170.     BOOL GetScrollTips();
  171.     void SetScrollTips(BOOL);
  172.     BOOL GetExtendTips();
  173.     void SetExtendTips(BOOL);
  174.     long GetDefWordWrap();
  175.     void SetDefWordWrap(long);
  176.     long GetDefColCaptionTextAlignment();
  177.     void SetDefColCaptionTextAlignment(long);
  178.     long GetDefColCaptionWordWrap();
  179.     void SetDefColCaptionWordWrap(long);
  180.     BOOL GetVirtual();
  181.     void SetVirtual(BOOL);
  182.     long GetVirtualItemCount();
  183.     void SetVirtualItemCount(long);
  184.     long GetSortOrder2();
  185.     void SetSortOrder2(long);
  186.     long GetSortOrder3();
  187.     void SetSortOrder3(long);
  188.     BOOL GetAllowColumnSortClick();
  189.     void SetAllowColumnSortClick(BOOL);
  190.     long GetListIndex();
  191.     void SetListIndex(long);
  192.     unsigned long GetMaskColor();
  193.     void SetMaskColor(unsigned long);
  194.     BOOL GetMaskColorEnabled();
  195.     void SetMaskColorEnabled(BOOL);
  196.     long GetDynamicCols();
  197.     void SetDynamicCols(long);
  198.     long GetHorzScrollBar();
  199.     void SetHorzScrollBar(long);
  200.     BOOL GetColumnCaptions();
  201.     void SetColumnCaptions(BOOL);
  202.     LPDISPATCH GetMouseIcon();
  203.     void SetMouseIcon(LPDISPATCH);
  204.     long GetMousePointer();
  205.     void SetMousePointer(long);
  206.     VARIANT GetBookmark();
  207.     void SetBookmark(const VARIANT&);
  208.     VARIANT GetTopBookmark();
  209.     void SetTopBookmark(const VARIANT&);
  210.     unsigned long GetSelectedBackColor();
  211.     void SetSelectedBackColor(unsigned long);
  212.     unsigned long GetSelectedForeColor();
  213.     void SetSelectedForeColor(unsigned long);
  214.  
  215. // Operations
  216. public:
  217.     BOOL GetSelected(long Index);
  218.     void SetSelected(long Index, BOOL bNewValue);
  219.     long GetItemData(long Index);
  220.     void SetItemData(long Index, long nNewValue);
  221.     LPDISPATCH GetListItems(const VARIANT& Index);
  222.     void SetListItems(const VARIANT& Index, LPDISPATCH newValue);
  223.     LPDISPATCH GetColumnDefs(const VARIANT& Index);
  224.     void SetColumnDefs(const VARIANT& Index, LPDISPATCH newValue);
  225.     LPDISPATCH GetListImages(const VARIANT& Index);
  226.     void SetListImages(const VARIANT& Index, LPDISPATCH newValue);
  227.     void Clear();
  228.     void Refresh();
  229.     void RemoveItem(long Index);
  230.     void AddItem(LPCTSTR Item, const VARIANT& Index);
  231.     void ClearCache();
  232.     short GetLeftColumn(const VARIANT& SubRow);
  233.     void SetLeftColumn(const VARIANT& SubRow, short nNewValue);
  234.     short HitTest(float x, float y);
  235.     short HitTestItem(float x, float y, LPDISPATCH* ListItem, LPDISPATCH* SubItem);
  236.     VARIANT GetSelBookmarks(long Index);
  237.     void SetSelBookmarks(long Index, const VARIANT& newValue);
  238.     long GetSelIndices(long Index);
  239.     void SetSelIndices(long Index, long nNewValue);
  240.     void AboutBox();
  241. };
  242. /////////////////////////////////////////////////////////////////////////////
  243. // _DGTCombo wrapper class
  244.  
  245. class _DGTCombo : public COleDispatchDriver
  246. {
  247. public:
  248.     _DGTCombo() {}        // Calls COleDispatchDriver default constructor
  249.     _DGTCombo(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
  250.     _DGTCombo(const _DGTCombo& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
  251.  
  252. // Attributes
  253. public:
  254.     BOOL GetAllowColumnDragDrop();
  255.     void SetAllowColumnDragDrop(BOOL);
  256.     OLE_COLOR GetBackColor();
  257.     void SetBackColor(OLE_COLOR);
  258.     BOOL GetEnabled();
  259.     void SetEnabled(BOOL);
  260.     OLE_HANDLE GetHWnd();
  261.     void SetHWnd(OLE_HANDLE);
  262.     CString GetText();
  263.     void SetText(LPCTSTR);
  264.     BOOL GetAllowColumnResize();
  265.     void SetAllowColumnResize(BOOL);
  266.     BOOL GetHideSelection();
  267.     void SetHideSelection(BOOL);
  268.     CString GetImageList();
  269.     void SetImageList(LPCTSTR);
  270.     long GetListCount();
  271.     void SetListCount(long);
  272.     long GetNewIndex();
  273.     void SetNewIndex(long);
  274.     LPDISPATCH GetPicture();
  275.     void SetPicture(LPDISPATCH);
  276.     long GetPictureAlignment();
  277.     void SetPictureAlignment(long);
  278.     unsigned long GetScrollTipBackColor();
  279.     void SetScrollTipBackColor(unsigned long);
  280.     CString GetScrollTipDataField();
  281.     void SetScrollTipDataField(LPCTSTR);
  282.     LPDISPATCH GetScrollTipFont();
  283.     void SetScrollTipFont(LPDISPATCH);
  284.     unsigned long GetScrollTipForeColor();
  285.     void SetScrollTipForeColor(unsigned long);
  286.     long GetSelCount();
  287.     void SetSelCount(long);
  288.     LPDISPATCH GetSelectedItem();
  289.     void SetSelectedItem(LPDISPATCH);
  290.     BOOL GetSorted();
  291.     void SetSorted(BOOL);
  292.     short GetSortKey();
  293.     void SetSortKey(short);
  294.     long GetSortOrder();
  295.     void SetSortOrder(long);
  296.     VARIANT GetTagVariant();
  297.     void SetTagVariant(const VARIANT&);
  298.     unsigned long GetExtendTipBackColor();
  299.     void SetExtendTipBackColor(unsigned long);
  300.     CString GetExtendTipDataField();
  301.     void SetExtendTipDataField(LPCTSTR);
  302.     long GetExtendTipDelay();
  303.     void SetExtendTipDelay(long);
  304.     LPDISPATCH GetExtendTipFont();
  305.     void SetExtendTipFont(LPDISPATCH);
  306.     unsigned long GetExtendTipForeColor();
  307.     void SetExtendTipForeColor(unsigned long);
  308.     long GetExtendTipTimeout();
  309.     void SetExtendTipTimeout(long);
  310.     long GetTopIndex();
  311.     void SetTopIndex(long);
  312.     long GetVertScrollBar();
  313.     void SetVertScrollBar(long);
  314.     long GetComboStyle();
  315.     void SetComboStyle(long);
  316.     short GetSelLength();
  317.     void SetSelLength(short);
  318.     short GetSelStart();
  319.     void SetSelStart(short);
  320.     CString GetSelText();
  321.     void SetSelText(LPCTSTR);
  322.     short GetMinDropDownItems();
  323.     void SetMinDropDownItems(short);
  324.     short GetMaxDropDownItems();
  325.     void SetMaxDropDownItems(short);
  326.     unsigned long GetDefColCaptionBackColor();
  327.     void SetDefColCaptionBackColor(unsigned long);
  328.     long GetDefColCaptionFont3D();
  329.     void SetDefColCaptionFont3D(long);
  330.     LPDISPATCH GetDefColCaptionFont();
  331.     void SetDefColCaptionFont(LPDISPATCH);
  332.     unsigned long GetDefColCaptionForeColor();
  333.     void SetDefColCaptionForeColor(unsigned long);
  334.     long GetDefColCaptionPictureAlignment();
  335.     void SetDefColCaptionPictureAlignment(long);
  336.     long GetDefColCaptionTextAlignment();
  337.     void SetDefColCaptionTextAlignment(long);
  338.     float GetDefColumnWidth();
  339.     void SetDefColumnWidth(float);
  340.     long GetDefColCaptionBorderStyle();
  341.     void SetDefColCaptionBorderStyle(long);
  342.     float GetDefRowHeight();
  343.     void SetDefRowHeight(float);
  344.     float GetColumnHeaderHeight();
  345.     void SetColumnHeaderHeight(float);
  346.     float GetDropDownWidth();
  347.     void SetDropDownWidth(float);
  348.     unsigned long GetDefBackColor();
  349.     void SetDefBackColor(unsigned long);
  350.     LPDISPATCH GetDefFont();
  351.     void SetDefFont(LPDISPATCH);
  352.     short GetDefFont3D();
  353.     void SetDefFont3D(short);
  354.     unsigned long GetDefForeColor();
  355.     void SetDefForeColor(unsigned long);
  356.     long GetDefPictureAlignment();
  357.     void SetDefPictureAlignment(long);
  358.     short GetDefTextAlignment();
  359.     void SetDefTextAlignment(short);
  360.     LPFONTDISP GetFont();
  361.     void SetFont(LPFONTDISP);
  362.     long GetAppearance();
  363.     void SetAppearance(long);
  364.     BOOL GetCalcRowCountOnLoad();
  365.     void SetCalcRowCountOnLoad(BOOL);
  366.     long GetGridLineType();
  367.     void SetGridLineType(long);
  368.     long GetGridLineStyle();
  369.     void SetGridLineStyle(long);
  370.     unsigned long GetGridLineColor();
  371.     void SetGridLineColor(unsigned long);
  372.     long GetBorderStyle();
  373.     void SetBorderStyle(long);
  374.     CString Get_Text();
  375.     void Set_Text(LPCTSTR);
  376.     OLE_COLOR GetForeColor();
  377.     void SetForeColor(OLE_COLOR);
  378.     short GetSubRows();
  379.     void SetSubRows(short);
  380.     unsigned long GetDefBackColorOdd();
  381.     void SetDefBackColorOdd(unsigned long);
  382.     unsigned long GetDefForeColorOdd();
  383.     void SetDefForeColorOdd(unsigned long);
  384.     BOOL GetSubRowsStatic();
  385.     void SetSubRowsStatic(BOOL);
  386.     BOOL GetColumnResizeElastic();
  387.     void SetColumnResizeElastic(BOOL);
  388.     CString GetDataFieldDisplay();
  389.     void SetDataFieldDisplay(LPCTSTR);
  390.     CString GetDataFieldList();
  391.     void SetDataFieldList(LPCTSTR);
  392.     CString GetDisplayText();
  393.     void SetDisplayText(LPCTSTR);
  394.     long GetDefColCaptionWordWrap();
  395.     void SetDefColCaptionWordWrap(long);
  396.     long GetDefWordWrap();
  397.     void SetDefWordWrap(long);
  398.     BOOL GetVirtual();
  399.     void SetVirtual(BOOL);
  400.     long GetVirtualItemCount();
  401.     void SetVirtualItemCount(long);
  402.     long GetSortOrder2();
  403.     void SetSortOrder2(long);
  404.     long GetSortOrder3();
  405.     void SetSortOrder3(long);
  406.     BOOL GetAllowColumnSortClick();
  407.     void SetAllowColumnSortClick(BOOL);
  408.     BOOL GetAutoPositionList();
  409.     void SetAutoPositionList(BOOL);
  410.     long GetListIndex();
  411.     void SetListIndex(long);
  412.     unsigned long GetMaskColor();
  413.     void SetMaskColor(unsigned long);
  414.     BOOL GetMaskColorEnabled();
  415.     void SetMaskColorEnabled(BOOL);
  416.     long GetDynamicCols();
  417.     void SetDynamicCols(long);
  418.     short GetSortKey2();
  419.     void SetSortKey2(short);
  420.     short GetSortKey3();
  421.     void SetSortKey3(short);
  422.     long GetHorzScrollBar();
  423.     void SetHorzScrollBar(long);
  424.     BOOL GetScrollTips();
  425.     void SetScrollTips(BOOL);
  426.     BOOL GetExtendTips();
  427.     void SetExtendTips(BOOL);
  428.     BOOL GetColumnCaptions();
  429.     void SetColumnCaptions(BOOL);
  430.     LPDISPATCH GetMouseIcon();
  431.     void SetMouseIcon(LPDISPATCH);
  432.     long GetMousePointer();
  433.     void SetMousePointer(long);
  434.     LPUNKNOWN GetDataSourceList();
  435.     void SetDataSourceList(LPUNKNOWN);
  436.     VARIANT GetBookmark();
  437.     void SetBookmark(const VARIANT&);
  438.     VARIANT GetTopBookmark();
  439.     void SetTopBookmark(const VARIANT&);
  440.     unsigned long GetSelectedBackColor();
  441.     void SetSelectedBackColor(unsigned long);
  442.     unsigned long GetSelectedForeColor();
  443.     void SetSelectedForeColor(unsigned long);
  444.  
  445. // Operations
  446. public:
  447.     long GetItemData(long Index);
  448.     void SetItemData(long Index, long nNewValue);
  449.     BOOL GetSelected(long Index);
  450.     void SetSelected(long Index, BOOL bNewValue);
  451.     LPDISPATCH GetListItems(const VARIANT& Index);
  452.     void SetListItems(const VARIANT& Index, LPDISPATCH newValue);
  453.     LPDISPATCH GetColumnDefs(const VARIANT& Index);
  454.     void SetColumnDefs(const VARIANT& Index, LPDISPATCH newValue);
  455.     LPDISPATCH GetListImages(const VARIANT& Index);
  456.     void SetListImages(const VARIANT& Index, LPDISPATCH newValue);
  457.     void Clear();
  458.     void Refresh();
  459.     void RemoveItem(long Index);
  460.     void AddItem(LPCTSTR Item, const VARIANT& Index);
  461.     void ClearCache();
  462.     short GetLeftColumn(const VARIANT& SubRow);
  463.     void SetLeftColumn(const VARIANT& SubRow, short nNewValue);
  464.     short HitTest(float x, float y);
  465.     short HitTestItem(float x, float y, LPDISPATCH* ListItem, LPDISPATCH* SubItem);
  466.     void AboutBox();
  467. };
  468. /////////////////////////////////////////////////////////////////////////////
  469. // _DGTComboEvents wrapper class
  470.  
  471. class _DGTComboEvents : public COleDispatchDriver
  472. {
  473. public:
  474.     _DGTComboEvents() {}        // Calls COleDispatchDriver default constructor
  475.     _DGTComboEvents(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
  476.     _DGTComboEvents(const _DGTComboEvents& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
  477.  
  478. // Attributes
  479. public:
  480.  
  481. // Operations
  482. public:
  483.     void KeyDown(short* KeyCode, short Shift);
  484.     void KeyPress(short* KeyAscii);
  485.     void KeyUp(short* KeyCode, short Shift);
  486.     void ListItemSelected(LPDISPATCH ListItem, BSTR* Text);
  487.     void MouseDown(short Button, short Shift, long x, long y);
  488.     void MouseMove(short Button, short Shift, long x, long y);
  489.     void MouseUp(short Button, short Shift, long x, long y);
  490.     void Click();
  491.     void DblClick();
  492.     void ListItemDataRequest(LPDISPATCH* ListItem, long Index);
  493.     void ExtendTipEnd();
  494.     void ScrollTipEnd();
  495.     void ExtendTipBegin(BOOL* Cancel);
  496.     void ScrollTipBegin(BOOL* Cancel);
  497.     void ClickColumn(LPDISPATCH* ColumnDef);
  498.     void ClickItem(LPDISPATCH* ListItem, LPDISPATCH* SubItem);
  499.     void ColumnAfterMove(LPDISPATCH ColumnDef);
  500.     void ColumnBeforeMove(LPDISPATCH ColumnDef, BOOL* Cancel);
  501.     void DropDown();
  502.     void PositionList();
  503.     void ColumnResize(LPDISPATCH* ColumnDef, BOOL* Cancel);
  504.     void HorzScroll();
  505.     void VertScroll();
  506.     void Change();
  507. };
  508. /////////////////////////////////////////////////////////////////////////////
  509. // _DSubItem wrapper class
  510.  
  511. class _DSubItem : public COleDispatchDriver
  512. {
  513. public:
  514.     _DSubItem() {}        // Calls COleDispatchDriver default constructor
  515.     _DSubItem(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
  516.     _DSubItem(const _DSubItem& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
  517.  
  518. // Attributes
  519. public:
  520.     long GetTextAlignment();
  521.     void SetTextAlignment(long);
  522.     unsigned long GetBackColor();
  523.     void SetBackColor(unsigned long);
  524.     unsigned long GetForeColor();
  525.     void SetForeColor(unsigned long);
  526.     LPDISPATCH GetFont();
  527.     void SetFont(LPDISPATCH);
  528.     long GetFont3D();
  529.     void SetFont3D(long);
  530.     short GetImage();
  531.     void SetImage(short);
  532.     long GetPictureAlignment();
  533.     void SetPictureAlignment(long);
  534.     CString GetText();
  535.     void SetText(LPCTSTR);
  536.     CString GetKey();
  537.     void SetKey(LPCTSTR);
  538.     long GetIndex();
  539.     void SetIndex(long);
  540.     float GetHeight();
  541.     void SetHeight(float);
  542.     float GetWidth();
  543.     void SetWidth(float);
  544.     short GetSelectedImage();
  545.     void SetSelectedImage(short);
  546.     short GetWordWrap();
  547.     void SetWordWrap(short);
  548.     CString GetFormat();
  549.     void SetFormat(LPCTSTR);
  550.     CString Get_Text();
  551.     void Set_Text(LPCTSTR);
  552.  
  553. // Operations
  554. public:
  555. };
  556. /////////////////////////////////////////////////////////////////////////////
  557. // _DColumnDef wrapper class
  558.  
  559. class _DColumnDef : public COleDispatchDriver
  560. {
  561. public:
  562.     _DColumnDef() {}        // Calls COleDispatchDriver default constructor
  563.     _DColumnDef(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
  564.     _DColumnDef(const _DColumnDef& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
  565.  
  566. // Attributes
  567. public:
  568.     unsigned long GetBackColor();
  569.     void SetBackColor(unsigned long);
  570.     CString GetCaption();
  571.     void SetCaption(LPCTSTR);
  572.     short GetCaptionTextAlignment();
  573.     void SetCaptionTextAlignment(short);
  574.     unsigned long GetCaptionBackColor();
  575.     void SetCaptionBackColor(unsigned long);
  576.     long GetCaptionBorderStyle();
  577.     void SetCaptionBorderStyle(long);
  578.     LPDISPATCH GetCaptionFont();
  579.     void SetCaptionFont(LPDISPATCH);
  580.     long GetCaptionFont3D();
  581.     void SetCaptionFont3D(long);
  582.     unsigned long GetCaptionForeColor();
  583.     void SetCaptionForeColor(unsigned long);
  584.     short GetCaptionImage();
  585.     void SetCaptionImage(short);
  586.     long GetCaptionPictureAlignment();
  587.     void SetCaptionPictureAlignment(long);
  588.     CString GetDataField();
  589.     void SetDataField(LPCTSTR);
  590.     LPDISPATCH GetFont();
  591.     void SetFont(LPDISPATCH);
  592.     long GetFont3D();
  593.     void SetFont3D(long);
  594.     unsigned long GetForeColor();
  595.     void SetForeColor(unsigned long);
  596.     long GetIndex();
  597.     void SetIndex(long);
  598.     CString GetKey();
  599.     void SetKey(LPCTSTR);
  600.     VARIANT GetTagVariant();
  601.     void SetTagVariant(const VARIANT&);
  602.     float GetWidth();
  603.     void SetWidth(float);
  604.     long GetPictureAlignment();
  605.     void SetPictureAlignment(long);
  606.     long GetTextAlignment();
  607.     void SetTextAlignment(long);
  608.     float GetRowHeight();
  609.     void SetRowHeight(float);
  610.     short GetSubItemSource();
  611.     void SetSubItemSource(short);
  612.     short GetSubRow();
  613.     void SetSubRow(short);
  614.     short GetSubColumn();
  615.     void SetSubColumn(short);
  616.     short GetWordWrap();
  617.     void SetWordWrap(short);
  618.     short GetCaptionWordWrap();
  619.     void SetCaptionWordWrap(short);
  620.     BOOL GetVisible();
  621.     void SetVisible(BOOL);
  622.     CString GetFormat();
  623.     void SetFormat(LPCTSTR);
  624.     float GetHeight();
  625.     void SetHeight(float);
  626.     float GetTop();
  627.     void SetTop(float);
  628.     float GetLeft();
  629.     void SetLeft(float);
  630.     CString Get_Caption();
  631.     void Set_Caption(LPCTSTR);
  632.  
  633. // Operations
  634. public:
  635.     void MoveTo(short SubColumn, short SubRow);
  636. };
  637. /////////////////////////////////////////////////////////////////////////////
  638. // _DColumnDefs wrapper class
  639.  
  640. class _DColumnDefs : public COleDispatchDriver
  641. {
  642. public:
  643.     _DColumnDefs() {}        // Calls COleDispatchDriver default constructor
  644.     _DColumnDefs(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
  645.     _DColumnDefs(const _DColumnDefs& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
  646.  
  647. // Attributes
  648. public:
  649.     long GetCount();
  650.     void SetCount(long);
  651.     long GetMemoryUsed();
  652.     void SetMemoryUsed(long);
  653.  
  654. // Operations
  655. public:
  656.     LPDISPATCH GetItem(const VARIANT& Index);
  657.     void SetItem(const VARIANT& Index, LPDISPATCH newValue);
  658.     void Clear();
  659.     void Remove(const VARIANT& Index);
  660.     LPDISPATCH Add(const VARIANT& Index, const VARIANT& Key, const VARIANT& Caption);
  661.     LPUNKNOWN _NewEnum();
  662. };
  663. /////////////////////////////////////////////////////////////////////////////
  664. // _DSubItems wrapper class
  665.  
  666. class _DSubItems : public COleDispatchDriver
  667. {
  668. public:
  669.     _DSubItems() {}        // Calls COleDispatchDriver default constructor
  670.     _DSubItems(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
  671.     _DSubItems(const _DSubItems& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
  672.  
  673. // Attributes
  674. public:
  675.     long GetCount();
  676.     void SetCount(long);
  677.     long GetMemoryUsed();
  678.     void SetMemoryUsed(long);
  679.  
  680. // Operations
  681. public:
  682.     void Clear();
  683.     void Remove(const VARIANT& Index);
  684.     LPDISPATCH Add(const VARIANT& Index, const VARIANT& Key, const VARIANT& Text);
  685.     LPDISPATCH GetItem(const VARIANT& Index);
  686.     void SetItem(const VARIANT& Index, LPDISPATCH newValue);
  687.     LPUNKNOWN _NewEnum();
  688. };
  689. /////////////////////////////////////////////////////////////////////////////
  690. // _DListItems wrapper class
  691.  
  692. class _DListItems : public COleDispatchDriver
  693. {
  694. public:
  695.     _DListItems() {}        // Calls COleDispatchDriver default constructor
  696.     _DListItems(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
  697.     _DListItems(const _DListItems& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
  698.  
  699. // Attributes
  700. public:
  701.     long GetCount();
  702.     void SetCount(long);
  703.     long GetMemoryUsed();
  704.     void SetMemoryUsed(long);
  705.  
  706. // Operations
  707. public:
  708.     LPDISPATCH GetItem(const VARIANT& Index);
  709.     void SetItem(const VARIANT& Index, LPDISPATCH newValue);
  710.     void Clear();
  711.     void Remove(const VARIANT& Index);
  712.     LPDISPATCH Add(const VARIANT& Index, const VARIANT& Key, const VARIANT& Text, const VARIANT& Image, const VARIANT& SelectedImage, const VARIANT& AutoAddSubItems);
  713.     LPUNKNOWN _NewEnum();
  714. };
  715. /////////////////////////////////////////////////////////////////////////////
  716. // _DListItem wrapper class
  717.  
  718. class _DListItem : public COleDispatchDriver
  719. {
  720. public:
  721.     _DListItem() {}        // Calls COleDispatchDriver default constructor
  722.     _DListItem(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
  723.     _DListItem(const _DListItem& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
  724.  
  725. // Attributes
  726. public:
  727.     unsigned long GetBackColor();
  728.     void SetBackColor(unsigned long);
  729.     long GetTextAlignment();
  730.     void SetTextAlignment(long);
  731.     LPDISPATCH GetFont();
  732.     void SetFont(LPDISPATCH);
  733.     long GetFont3D();
  734.     void SetFont3D(long);
  735.     unsigned long GetForeColor();
  736.     void SetForeColor(unsigned long);
  737.     short GetImage();
  738.     void SetImage(short);
  739.     long GetPictureAlignment();
  740.     void SetPictureAlignment(long);
  741.     CString GetText();
  742.     void SetText(LPCTSTR);
  743.     float GetHeight();
  744.     void SetHeight(float);
  745.     long GetIndex();
  746.     void SetIndex(long);
  747.     long GetItemData();
  748.     void SetItemData(long);
  749.     CString GetKey();
  750.     void SetKey(LPCTSTR);
  751.     BOOL GetSelected();
  752.     void SetSelected(BOOL);
  753.     VARIANT GetTagVariant();
  754.     void SetTagVariant(const VARIANT&);
  755.     short GetSelectedImage();
  756.     void SetSelectedImage(short);
  757.     short GetWordWrap();
  758.     void SetWordWrap(short);
  759.     CString GetFormat();
  760.     void SetFormat(LPCTSTR);
  761.     CString Get_Text();
  762.     void Set_Text(LPCTSTR);
  763.  
  764. // Operations
  765. public:
  766.     LPDISPATCH GetSubItems(const VARIANT& Index);
  767.     void SetSubItems(const VARIANT& Index, LPDISPATCH newValue);
  768. };
  769. /////////////////////////////////////////////////////////////////////////////
  770. // _DListImages wrapper class
  771.  
  772. class _DListImages : public COleDispatchDriver
  773. {
  774. public:
  775.     _DListImages() {}        // Calls COleDispatchDriver default constructor
  776.     _DListImages(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
  777.     _DListImages(const _DListImages& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
  778.  
  779. // Attributes
  780. public:
  781.     short GetCount();
  782.     void SetCount(short);
  783.     long GetMemoryUsed();
  784.     void SetMemoryUsed(long);
  785.  
  786. // Operations
  787. public:
  788.     LPDISPATCH GetItem(const VARIANT& Index);
  789.     void SetItem(const VARIANT& Index, LPDISPATCH newValue);
  790.     void Remove(const VARIANT& Index);
  791.     void Clear();
  792.     LPDISPATCH Add(const VARIANT& Index, const VARIANT& Key, const VARIANT& Picture);
  793.     LPUNKNOWN _NewEnum();
  794. };
  795. /////////////////////////////////////////////////////////////////////////////
  796. // _DListImage wrapper class
  797.  
  798. class _DListImage : public COleDispatchDriver
  799. {
  800. public:
  801.     _DListImage() {}        // Calls COleDispatchDriver default constructor
  802.     _DListImage(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
  803.     _DListImage(const _DListImage& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
  804.  
  805. // Attributes
  806. public:
  807.     short GetIndex();
  808.     void SetIndex(short);
  809.     CString GetKey();
  810.     void SetKey(LPCTSTR);
  811.     LPDISPATCH GetPicture();
  812.     void SetPicture(LPDISPATCH);
  813.     LPDISPATCH Get_Picture();
  814.     void Set_Picture(LPDISPATCH);
  815.  
  816. // Operations
  817. public:
  818. };
  819.